package com.situ.day1;

import org.junit.Test;

public class SwitchDemo {
	@Test
	public void test1() {
		int type = 1;
		switch (type) {
		case 1:
			System.out.println("1");
			//break;
		case 2:
			System.out.println("2");
			break;
		case 3:
			System.out.println("3");
			break;
		default:
			System.out.println("default");
			break;
		}
	}
}
